package interfaces.hud.targetInfos;

import interfaces.superWidgets.ListenerKeeperElement;
import logic.nodes.TeamNode;

import com.jme.math.Vector3f;

public class StaticTargetArrow extends AbsTargetArrow {
	
	private static final long serialVersionUID = 1L;
	
	protected Vector3f location;
	
	public StaticTargetArrow(TeamNode target, ListenerKeeperElement element) {
		super(target, true, element);
	}
	
	public void setLocation(Vector3f loc) { location = loc; }
	
	@Override
	protected void init() {
		super.init();
		setMarked(true);
	}
	
	@Override
	protected Vector3f getTargetLocation() { return location; }
}